{************************************
******** Login Page Template ********
*************************************}
<!-- login_center.tpl -->
<div class="leftwrapper">
	{if $errorMsg ne ""}
		<div class="alert alert-block alert-danger">
			<a class="close" data-dismiss="alert" href="#">&times;</a>
			{$errorMsg}
		</div>
	{/if}
	{checkActionsTpl location="tpl_login_top"}
	<div class="col-md-4 login-left">
		<form id="thisform" method="post">
			<h2>{#PLIGG_Visual_Login_Login#}</h2>
			<p>{#PLIGG_Visual_Login_Have_Account#}</p>
			<a style="font-weight:bold;width:100%;" class="btn btn-primary facebook-login" title="Register via Facebook" href="/modules/fb/fb.php?mode=start" onclick="window.open(&quot;/modules/fb/fb.php?mode=start&quot;,&quot;new&quot;,&quot;width=300, height=300, toolbar=no, location=yes, directories=no, menubar=no, fullscreen=no&quot;); return false;" tabindex="2"><img src="/modules/fb/images/fb-logo-white.png" style="margin-top:-2px;"> Facebook Connect</a>
			<center style="margin:10px 0;font-size:12px;">OR</center>
			<form action="{$URL_login}" method="post">	
				<strong>{#PLIGG_Visual_Login_Username#}/{#PLIGG_Visual_Register_Email#}:</strong><br />
				<input autofocus="autofocus" type="text" name="username" class="form-control" value="{if isset($login_username)}{$login_username}{/if}" tabindex="1" /><br />
				
				<strong>{#PLIGG_Visual_Login_Password#}:</strong><br />
				<input type="password" name="password" class="form-control" tabindex="2" /><br />
				<input type="hidden" name="processlogin" value="1"/>
				<input type="hidden" name="return" value="{$get.return}"/>
				<div class="col-sm-6">
					<input type="submit" value="{#PLIGG_Visual_Login_LoginButton#}" class="btn btn-primary" tabindex="4" />
				</div>
				<div class="col-sm-6">
					<input type="checkbox" class="col-sm-offset-2" name="persistent" tabindex="3" /> {#PLIGG_Visual_Login_Remember#}
				</div>
			</form>
		</form>
	</div>
	<div class="col-md-4 login-middle">
		<form action="{$URL_login}" id="thisform2" method="post">
			<h2>{#PLIGG_Visual_Login_ForgottenPassword#}</h2>
			<p>{#PLIGG_Visual_Login_EmailChangePass#}</p>
			<strong>{#PLIGG_Visual_Register_Email#}:</strong><br />
			<input type="text" name="email" class="form-control" size="25" tabindex="5" id="forgot-email" value="" />
			<br />
			<input type="submit" value="Submit" class="btn btn-primary" tabindex="6" />
			<input type="hidden" name="processlogin" value="3"/>
			<input type="hidden" name="return" value="{$get.return}"/>
		</form>
	</div>
	<div class="col-md-4 login-right">
		<h2>{#PLIGG_Visual_Login_NewUsers#}</h2>
		<p>{#PLIGG_Visual_Login_NewUsersA#}<a href="{$register_url}" class="btn btn-success btn-xs" tabindex="7">{#PLIGG_Visual_Login_NewUsersB#}</a>{#PLIGG_Visual_Login_NewUsersC#}</p>
	</div>
	
	<div class="clearfix"></div>
	<br /><br />

	{checkActionsTpl location="tpl_login_bottom"}
</div>
<!--/login_center.tpl -->